import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import {router} from "./router/chap17";
import { createPinia } from 'pinia'

const app = createApp(App)
app.use(router)
// 需要注意的是从pinia中解构出来的createPinia是一个函数,挂载需要先调用执行
app.use(createPinia())
app.mount('#app')
